View Single Post
  #8   (View Single Post)  
Old 3rd August 2008
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,977
Default

Quote:
Originally Posted by ecnalbya View Post
...I intended to change the ttl value to 125.
Why? What is the outcome you expect?
Quote:
I am a newbie, correct me if were wrong.
Welcome. I only found one obvious thing wrong (other than your desire to muck about with TTL values), and that is your assumption that...
Quote:
If it works on FreeBSD, it should work on OpenBSD as well, right?
This would be a poor assumption. Sometimes, yes. But mostly, no. They are both BSDs but they have been on separate paths for 14 years. Hundreds of thousands of changes have been made to both operating systems.
Quote:
Did anyone try this on OpenBSD?);
Just now:
Code:
# sysctl net.inet.ip.ttl
net.inet.ip.ttl=64
# sysctl net.inet.ip.ttl=125
net.inet.ip.ttl: 64 -> 125
# sysctl net.inet.ip.ttl
net.inet.ip.ttl=125
#
Quote:
2. /etc/pf.conf
I have not mucked about with stack settings in pf; my understanding is murky of which would override the other .... primarily because I don't muck about with TCP/IP stack configuration.
Quote:
3. Kernel (by default, the ttl value is 255, where in the kernel that I can jump in and change this value?)
As you saw above, my sysctl reports the kernel value used by the stack (unless PF gets involved, perhaps) is 64. I am running 4.4-beta (-current), on i386.
Reply With Quote